#include "gl_app.h"

#include <GL/glew.h> // [r2]
#include <GL/freeglut.h> // [r1]

namespace GlApp{

void updateAppState(AppState& app)
{
    app.update();
}

/* AppState */

AppState::AppState()
{
}

void AppState::update()
{
    elapsedTime_ = (double) glutGet(GLUT_ELAPSED_TIME);
}

}
